package com.augn.service;

import com.augn.entity.Result;
import com.augn.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author augn
 * @since 2022-09-22
 */
public interface IUserService extends IService<User> {

    Result<?> insertOneUser(User user);
    Result<?> deleteOneUser(Integer id);
    Result<?> updateOneUser(User user);
    Result<?> getOneUser(Integer id);
    Result<?> getPartUser(User user,Integer pageNum,Integer pageSize);
    Result<?> login(User user);
}
